import { exRadioGroup } from '@ve/common/components/extension'
// import { componentId } from '@/utils/unique'
export default {
  VERSION: '20230419',
  type: 'UiPdaTabs',
  name: '选项卡',
  icon: 'window-line',
  //数据别名
  // dataName: 'uiTabs_data',
  //扩展
  extension: {
    // color: exColorPicker('标签颜色', '#1989fa'),
    type: exRadioGroup('风格类型', 'line', [
      {
        value: 'card',
        label: '卡片',
      },
      {
        value: 'line',
        label: '线形',
      },
    ]),
    tabOption: {
      type: 'exPdaTabOption',
      name: '标签页选项',
      value: [],
    },
    // activeName: 'first',
  },
  list: [
    {
      type: 'tabsList',
      actions: [],
      name: '菜单0',
      label: '菜单0',
      value: 0,
      list: [],
    },
    {
      type: 'tabsList',
      actions: [],
      name: '菜单1',
      label: '菜单1',
      value: 1,
      list: [],
    },
  ],
  //交互
  interaction: [],
  //条件、逻辑指令
  logicInstruction: [],
}
